package com.sky.service;

import com.sky.entity.AddressBook;

import java.util.List;

public interface AdressBookService {
    void save(AddressBook addressBook);

    List<AddressBook> list(Long currentId);

    void update(AddressBook addressBook);

    AddressBook getById(Long id);

    void setDefault(AddressBook addressBook);

    void deleteById(Long id);

    AddressBook getDefault();
}
